#pragma once

#ifdef __QT5_TARGET

#include <QtCore/QDate>

#else

#include <QDate>

#endif

#include "korlapadmin_model_global.h"
#include "Visit.h"
class KORLAPADMIN_MODEL_EXPORT Schedule
{
public:
	Schedule(void);
	Schedule(unsigned int id,QDateTime* startDate,QDateTime* endDate, Visit* visit,const QString& note);
	~Schedule(void);
	
	
	void setId(unsigned int id);
	void setVisit(Visit* visit);
	void setNote(const QString& note);
	void setStartDate(QDateTime* date);
	void setEndDate(QDateTime* date);
	unsigned int getId();
	Visit* getVisit();
	QString getNote();
	QDateTime* getStartDate();
	QDateTime* getEndDate();
	
private:
	unsigned int id;
	Visit* visit;
	QString note;
	QDateTime* startDate;
	QDateTime* endDate;
};
